package cn.iocoder.yudao.module.system.controller.admin.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 微信小程序登录 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AuthWeixinMiniAppLoginReqVO {

    @Schema(description = "微信小程序授权码", required = true, example = "wx_code_123456")
    @NotEmpty(message = "授权码不能为空")
    private String code;

} 